<template>
  <el-result sub-title="未开通权限">
    <template #icon>
      <el-image
        :src="ErrorImage"
      />
    </template>
    <template #extra>
      <el-button
        v-blur
        size="small"
        @click="logoutHandle"
      >
        退出登录
      </el-button>
    </template>
  </el-result>
</template>

<script setup lang="ts" name="401">
import { ElMessage } from 'hive-plus';

import ErrorImage from '@/assets/images/error/401.png';

const logoutHandle = () => {
  ElMessage({
    type: 'warning',
    message: '退出登录成功！请自行实现退出登录逻辑！',
    grouping: true,
  });
};
</script>"
